package pms.dao;

import pms.entity.Sale;

import java.util.List;

public interface SaleDao {
    boolean addSaleForLeave(Sale sale);//添加销售记录
    List<Sale> querySaleByEmpidForLeave(int empid);//根据员工id查询对应的所有销售记录
    boolean  querysaleBySaleForLeave(Sale sale);//查询是否存在此销售记录
    boolean deleteSaleForLeave(int medicineid,int customerid,int empid);//删除对应的销售记录
    boolean  querysaleByMCEForLeave(int medicineid,int customerid,int empid);//查询是否存在此销售记录

}
